EMT Practice Test

1. Question Content...


Question List

Question1: Universal Containers sells physical gift cards for the holidays.
What needs to occur to guarantee the cards will always be available?

Question2: A Digital Developer extends a system object, Product, and adds a Boolean attribute, "sellable," to it.
Assuming "prod" is the variable name handling the product, what code can the Developer use to access it?

Question3: A Digital Developer is implementing an Open Commerce API call to add products to a basket. Given the following resource configuration:

Which modification allows the requests to successfully execute?

Question4: Universal Containers is preparing their storefront to use Open Commerce APIs (OCAPI).
To which hook should the Digital Developer move taxation logic to ensure consistent order totals within B2C Commerce?

Question5: Which technical reports datapoint measures the performance of a controller's script execution if network factors and Web Adaptor processing is ignored?

Question6: A Digital Developer has Identified that the code segment below is causing performance problems.

What should the Developer do to improve the code?

Question7: A Digital Developer adds the following line of code to a script.
dw.system.Logger.getLogger{'login').debug{"Login API has succeeded");
The code executes without error; however, the log file on disk does NOT contain the log message.
Which two actions should be completed to write the log message to disk? Choose 2 answers

Question8: Universal Containers needs to have Apple Pay disabled for the country of Spain. Which Business Manager module should the Developer use to meet this requirement?

Question9: Assume the code below is executing:

Business Manager has the configuration:
* Active Log category is "root" with log level of "info." Given this information, what is the beginning of the filename in which the log will be written?

Question10: A Digital Developer is inspecting the weekly service status report for a critical internally-hosted web service used in the application and notices that there are too many instances of unavailability.
Which two solutions are possible options to reduce the unavailability of the service? Choose 2 answers

Question11: A Digital Developer suspects a logical error in a script. Which action will help locate the error?

Question12: A Digital Developer needs to store information temporarily and decides to create a custom object.
Which code creates a custom object?

Question13: A Digital Developer wants pass control to an ISML template from a JavaScript Controller and load product on the pipeline dictionary with the name myProduct.
Which code sample will achieve this?

Question14: A Digital Developer has created a new PaymentForm controller that requires communication with the server and must be made using the HTTPS protocol.
Which code sample should the Developer use to make sure that HTTPS is used?

Question15: A Digital Developer wants to selectively retrieve products and process them from an (Phone. Which action should the Developer take, given that JavaScript controllers CANNOT be used?

Question16: A Digital Developer noticed that cartridges in their workspace are NOT executing. The Developer confirms that the cartridges are uploaded to the B2C Commerce server connection's target version directory.
Which action potentially solves this problem?

Question17: Universal Containers created a site export file from staging in the global export directory. How should the Digital Developer update their sandbox using this staging site export file?

Question18: A business user wants to add a link to a content page from within the body of another content asset.
The target
content asset ID is: terms-and-conditions.
Which link function generates the correct link?

Question19: A Digital Developer has a site export file on their computer that needs to be imported into their sandbox. How should the developer update their sandbox with the data in this file?

Question20: Given the file structure below, which ISML method call renders the customLandingPage template?

Question21: Universal Containers wants to change a content slot that is currently configured to display a content asset. Now they want the slot to display the top five selling boxes for the week.
Which two changes need to be made for this to occur? Choose 2 answers